package com.neu.af.dataFilter.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.neu.af.common.base.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;

public class MonitorStatus implements BaseEntity<String> {
    String ID;
    String tag_name;
    int status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Timestamp first_create_time;
    String descriptor;
    int record_amount;

    public String getTag_name() {
        return tag_name;
    }

    public void setTag_name(String tag_name) {
        this.tag_name = tag_name;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public void setID(String ID) {
        this.ID = ID;
    }

    public Timestamp getFirst_create_time() {
        return first_create_time;
    }

    public void setFirst_create_time(Timestamp first_create_time) {
        this.first_create_time = first_create_time;
    }

    public String getDescriptor() {
        return descriptor;
    }

    public void setDescriptor(String descriptor) {
        this.descriptor = descriptor;
    }

    public int getRecord_amount() {
        return record_amount;
    }

    public void setRecord_amount(int record_amount) {
        this.record_amount = record_amount;
    }

    @Override
    public String getId() {
        return ID;
    }
}
